﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Fashion.Models.Model.PropertyValueStaticModel>" %>
<%@ Import Namespace="Fashion.Common.Const" %>
<%Html.EnableClientValidation();%>
<%using (Html.BeginForm()){%>
    <%=Html.Hidden("PropertyId", ViewData[ViewDataName.PropertyId])%>
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>Value</td>
            <td>
                <%=Html.TextBoxFor(i => i.Value, new { @class = "textbox" })%>
                <%=Html.ValidationMessageFor(i=>i.Value) %>
            </td>
        </tr>
        <tr>
            <td>Active</td>
            <td>
                <%=Html.CheckBoxFor(i=>i.Active) %>
                <%=Html.ValidationMessageFor(i => i.Active)%>
            </td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" name="" value="Submit" /></td>
        </tr>
    </table>
<%} %>